package com.pingan.myBatis.crypt.utils;

/**
 * @AUTHOR:LIUCHAO;
 * @DATE: 2020/11/30 16:37
 */
public class IsNotCryptUtil {

    /**
     * 判断是否需要加解密
     *  数据加密 String类型不加密
     * @param o
     * @return
     */
    public static boolean isNotCrypt(Object o) {
        return o == null || o instanceof Double || o instanceof Integer || o instanceof Long || o instanceof Boolean;
    }
}
